Stratégies Efficaces et Modèles d'Implantation pour les Langages Fonctionnels. (Efficient Strategies and Implementation Models for Functional Languages)

نویسنده

  • François-Régis Sinot
چکیده

In functional languages, e ciency heavily relies on the choice of an evaluation strategy and an implementation model. We rst develop a λ-calculus with explicit substitutions which avoids the usual problems of substitution and α-conversion, where we can de ne the usual strategies, as well as some strategies with more sharing of computations. We then develop an e cient implementation model for this calculus. To this end, we propose an innovative representation of free variables, rst in the very general setting of higher-order rewriting, then with more details in our particular case. We thus obtain a λ-calculus with explicit substitutions without names nor indices, in which terms are annotated with information about how substitutions should be propagated, which is a suitable implementation model for our strategies. Abstract machines are then de ned, implemented, and experimentally compared to the best known evaluators. Finally, we study the relationship between traditional abstract machines and interaction nets, two common but very di erent implementation models. More precisely, we show how some strategies can be implemented in interaction nets in a very natural way, thus bridging the gap between two models used to implement e cient strategies.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Reformulation de problèmes de satisfaction de contraintes basée sur des métamodèles

Un des challenges importants en programmation par contraintes est la reformulation de modèles déclaratifs en programmes exécutables permettant de calculer leurs solutions. Cette phase peut nécessiter de faire des traductions entre les langages de la programmation par contraintes, de changer la représentation des contraintes ou d’optimiser les modèles et de paramétrer les stratégies de recherche...

متن کامل

On the effect of the expressiveness of strategy representation languages in multiagent based simulations: an experiment with an evolutionary model of the iterated n-players prisoner’s dilemma

RÉSUMÉ. Dans ce travail, nous présentons des résultats obtenus par plusieurs simulations multiagents du Dilemme du Prisonnier avec n joueurs, en utilisant deux différents langages pour exprimer les stratégies des agents: automate fini et automate adaptatif. Comme on peut exprimer des stratégies plus complexes en utilisant ce deuxième langage, nous considérons qu’une analyse comparative de la co...

متن کامل

A Contract Based Approach For Providing Reliability To Services Based Applications. (Une Approche A Base De Contrats Pour La Coordination Fiable Des Services)

This research work addresses reliability of services coordination expressed as nonfunctional properties (e.g., performance, security, atomicity, persistency, etc) that must be ensured and enforced at execution time. Existing systems, models and languages provide ad-hoc solutions that weave the application logic, expressed as services coordination, with non functional properties, leading to appl...

متن کامل

Dynamic Attribute Grammars Dynamic Attribute Grammars Les Grammaires Attribuues Dynamiques

Although Attribute Grammars were introduced long ago, their lack of expressive-ness has resulted in limited use outside the domain of static language processing. With the new notion of Dynamic Attribute Grammars deened on top of Grammar Couples, informally presented in a previous paper, we show that it is possible to extend this expressiveness and to describe computations on structures that are...

متن کامل

Behavioural models for distributed Fractal components

This paper presents a formal behavioural specification framework together with its applications in different contexts for specifying and verifying the correct behaviour of distributed Fractal components. Our framework allows us to build behavioural models for applications ranging from sequential Fractal components, to distributed objects, and finally distributed components. Our models are able ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006